(CCL_CALL_FOR_MAP_INSTRUCTION): Save eof_ic in
authorKenichi Handa <handa@m17n.org>
Sat, 12 Jun 2004 02:33:39 +0000 (02:33 +0000)
committerKenichi Handa <handa@m17n.org>
Sat, 12 Jun 2004 02:33:39 +0000 (02:33 +0000)
commit202891a53af965b52f38a9fc2f563e1f6b4e2477
treecade4c0bdcb771676ea89fd81d5e722b8c5d8da0
parent65ebbdbe8e64b85633b105fa25e8f0678ecdca5e
(CCL_CALL_FOR_MAP_INSTRUCTION): Save eof_ic in
ccl_prog_stack_struct and update it.
(CCL_INVALID_CMD): If CCL_DEBUG is defined, call ccl_debug_hook.
(CCL_READ_CHAR): Get instruction counter from eof_ic, not from
ccl->eof_ic on EOF.
(ccl_debug_hook): New function.
(struct ccl_prog_stack): New member eof_ic.
(ccl_driver): Handle EOF in subrountine call correctly.
src/ccl.c